package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 患者信息对象 patients
 * 
 * @author ruoyi
 * @date 2025-07-26
 */
public class Patients extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 患者ID */
    private Integer id;

    /** 患者姓名 */
    @Excel(name = "患者姓名")
    private String name;

    /** 就诊卡号 */
    @Excel(name = "就诊卡号")
    private String cardNo;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCard;

    /** 微信昵称 */
    @Excel(name = "微信昵称")
    private String wechatNickname;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phone;

    /** 就诊人地址 */
    @Excel(name = "就诊人地址")
    private String address;

    /** 卡内余额 */
    @Excel(name = "卡内余额")
    private Integer cardBalance;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setCardNo(String cardNo) 
    {
        this.cardNo = cardNo;
    }

    public String getCardNo() 
    {
        return cardNo;
    }

    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }

    public void setWechatNickname(String wechatNickname) 
    {
        this.wechatNickname = wechatNickname;
    }

    public String getWechatNickname() 
    {
        return wechatNickname;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setCardBalance(Integer cardBalance) 
    {
        this.cardBalance = cardBalance;
    }

    public Integer getCardBalance() 
    {
        return cardBalance;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("cardNo", getCardNo())
            .append("idCard", getIdCard())
            .append("wechatNickname", getWechatNickname())
            .append("phone", getPhone())
            .append("address", getAddress())
            .append("cardBalance", getCardBalance())
            .toString();
    }
}
